package org.hxyjs.dao;

import org.hxyjs.entity.MatchType;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface MatchTypeDao {

    public List<MatchType> getMatchTypeByPage(PageInfo pageInfo) throws Exception;

    public List<MatchType> getAllMatchTypes() throws Exception;


    public MatchType getMatchTypeByMatno(String matno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteMatchTypeByMatno(String matno) throws Exception;

    Integer updateMatchTypeByMatno(MatchType matchType) throws Exception;

    Integer addMatchType(MatchType matchType) throws Exception;

    //    MatchType getMatchTypeByMatno(String matno) throws Exception;
//    MatchType selectMatchTypeWithorderAndUser(String matno) throws Exception;
}